package com.wenc.psi.pojo;

import java.sql.Date;
import java.sql.Time;

public class Purchase {
    // 单号
    private String id;
    // 供货商
    private String supplierID;
    // 经手人
    private String employeeID;
    // 日期
    private Date date;
    // 时间
    private Time time;
    // 总价
    private double total;
    // 备注
    private String note;
    // 销售状态
    private String status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSupplierID() {
        return supplierID;
    }

    public void setSupplierID(String supplierID) {
        this.supplierID = supplierID;
    }

    public String getEmployeeID() {
        return employeeID;
    }

    public void setEmployeeID(String employeeID) {
        this.employeeID = employeeID;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Time getTime() {
        return time;
    }

    public void setTime(Time time) {
        this.time = time;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Purchase{" +
                "id='" + id + '\'' +
                ", supplierID='" + supplierID + '\'' +
                ", employeeID='" + employeeID + '\'' +
                ", date=" + date +
                ", time=" + time +
                ", total=" + total +
                ", note='" + note + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
